package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.PhoneVerifyModule;
import com.eduhzy.ttw.teacher.mvp.contract.PhoneVerifyContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.PhoneVerifyActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;


@ActivityScope
@Component(modules = PhoneVerifyModule.class, dependencies = AppComponent.class)
public interface PhoneVerifyComponent {
    void inject(PhoneVerifyActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        PhoneVerifyComponent.Builder view(PhoneVerifyContract.View view);

        PhoneVerifyComponent.Builder appComponent(AppComponent appComponent);

        PhoneVerifyComponent build();
    }


}